package com.gudaomai.wuye.mapper;

import java.util.List;

import org.apache.ibatis.annotations.*;

import com.gudaomai.wuye.core.WuyeBaseMapper;
import com.gudaomai.wuye.entity.Community;
import com.gudaomai.wuye.entity.Layout;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zenghualu
 * @since 2017-08-18
 */
public interface CommunityMapper extends WuyeBaseMapper<Community> {

	

	
    @Select("select 'Truncate table ' + TABLE_NAME from INFORMATION_SCHEMA.TABLES "
    		+ "where TABLE_NAME in ('tb_account', 'tb_adjust_charge_plan', 'tb_butler',"
    		+ "'tb_car', 'tb_charge', 'tb_charge_adjust', 'tb_charge_detail',"
    		+ "'tb_charge_item_detail', 'tb_charge_pay', 'tb_charge_plan',"
    		+ "'tb_charge_plan_item', 'tb_charge_refund', 'tb_comm_region',"
    		+ "'tb_community', 'tb_house', 'tb_house_owner',"
    		+ "'tb_house_people', 'tb_house_rental', 'tb_house_service',"
    		+ "'tb_layout', 'tb_memo', 'tb_notice',"
    		+ "'tb_notice_house', 'tb_park', 'tb_park_rental',"
    		+ "'tb_region_mapping', 'tb_repair', 'tb_repair_record',"
    		+ "'tb_report', 'tb_report_record', 'tb_store',"
    		+ "'tb_staff', 'tb_switch', 'tb_visit')")
	void resetDb();
}